<!DOCTYPE HTML>
<html>
<head>
<include file="Public:head" />
</head>

<body>
<include file="Public:header" />
<div class="midder">
	<div class="mc">
    <h1>{$seo.title}</h1>
        <div class="cleft">
            <div id="th-apps">
            	<div class="mod hd">
                    <h2>
                        大家在谈论
                            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
                    </h2>
                    <div class="cate-tab">
                     	<a href="{:U('develop/index/applist')}" <eq name="apptype" value="0"> class="on" </eq> >最新</a>
						<foreach name="typeList" item="item">
                          <if condition="$item[id] eq $apptype">
                          <a href="{:U('develop/index/applist',array('type'=>$item[id]))}" class="on">{$item[name]}</a>
                          <else/>
                          <a href="{:U('develop/index/applist',array('type'=>$item[id]))}">{$item[name]}</a>
                          </if>   
                        </foreach>
                    </div>
                 </div>
                <div class="bd">
                	<div class="comment-list">
                    		<foreach name="arrApp" item="item">
                            <div data-id="$item[appid]" class="common-item">
                                <div class="pic">
                                  <a href="{:U('develop/index/show',array('id'=>$item[appid]))}"><img alt="{$item[title]}" src="{$item[icon_100]}"></a>
                                </div>
                                <span class="digg">
                                	<if condition="$visitor[userid] gt 0">
                                    <a title="有用" class="a_digg {$item[digged]}"  data-url="{:U('develop/index/vote',array('id'=>$item[appid]))}" href="javascript:;" onClick="postvote(this)">有用</a>
                                    <else/>
                                    <a title="有用" class="i a_show_login a_digg"  data-url="{:U('develop/index/vote',array('id'=>$item[appid]))}" href="javascript:;">有用</a>                                    
                                    </if>
                                    <span class="counter">{$item[count_vote]}</span>
                                </span>
                                <div class="info">
                                     	<if condition="$item[comment][content]"><p><php>echo getsubstrutf8(clearText($item[comment][content]),0,80)</php></p></if>
                                        <div class="info-ft">
                                            <a href="{:U('develop/index/show',array('id'=>$item[appid]))}">{$item[title]}</a> |
                                            <a href="{:U('develop/index/applist',array('type'=>$apptype,'cateid'=>$item[cateid]))}">{$item[cate][catename]}</a>,
                                            <if condition="$item[comment][content]">{$item[comment][user][username]}的短评</if>
                                        </div>
                                 </div>
                            </div> 
                           </foreach> 
                                               
                    </div>
                    <div class="page">{$pageUrl}</div>
                </div>
            </div>	
        
        </div><!--//left-->
        <div class="cright">

            <div class="mod" id="th-app-cate">
                <h2>
                    发现更多应用
                        &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
                </h2>
              <div class="sub-mod list cate-list">
                <ul>
                  <foreach name="cateList" item="item">
                  <li><a href="{:U('develop/index/applist',array('type'=>$apptype,'cateid'=>$item[cateid]))}">{$item[catename]}</a></li>
                  </foreach>
                </ul>
              </div>
            </div>

        	<div class="mod">
                <h2>
                        最近流行的应用
                            &nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·
                </h2>
                <div class="th-app-pop">
                     <ul>
                     	<foreach name="arrpopApp" item="item">
                         <li class="common-item">
                         <div class="pic">
                             <a href="{:U('develop/index/show',array('id'=>$item[appid]))}"><img width="48" src="{$item[icon_100]}"></a>
                         </div>
                         <div class="info">
                             <div class="title">
                               <a href="{:U('develop/index/show',array('id'=>$item[appid]))}">{$item[title]}</a>
                             </div>
                             <div class="favs">{$item[count_down]}人用过 / {$item[cate][catename]}</div>
                         </div>
                         </li>
                         </foreach>
                     </ul>
                </div> 
            </div><!--//mod-->
            
        </div><!--//right-->
    
    </div>
</div>
<include file="Public:footer" />
</body>
</html>